import request from '@/utils/request.js'

const prefix = '/api/personal'

export function info() {
	return request({
		url: prefix + '/userInfo',
		method: 'get'
	})
}


/**
 * 默认的收货地址信息
 */
export function defaultAddressInfo() {
	return request({
		url: prefix + '/defaultAddressInfo',
		method: 'get'
	})
}
/**
 * 教练的学员列表
 */
export function courseStudent(params) {
	return request({
		url: prefix + '/courseStudent',
		method: 'get',
		params
	})
}

